/**
 * 
 */
package ar.edu.unq.tpi.uis.tepe3.dominio;

import java.util.HashSet;
import java.util.Set;

/**
 * @author daniel
 *
 */
public abstract class Grantable {
	
	private Long id;
	private String name;
	private Set<Privilege> privileges;
	
	public Grantable() {
		super();
		this.privileges = new HashSet<Privilege>();
	}

	public Long getId() {
		return id;
	}

	private void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Privilege> getPrivileges() {
		return privileges;
	}

	public void setPrivileges(Set<Privilege> privileges) {
		this.privileges = privileges;
	}
	
	
	
}
